package rak.r91.data;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

public class Item implements Serializable{
	private static final long serialVersionUID = 1291190286817824848L;
	private int itemID;
	private ItemType itemType;
	private String name;
	private double storePrice;
	private double salePrice;
	private String producer;
	private String description;
	private String producerCode;
	private Timestamp created; 
	private List<ItemAttribute> attributeList;
	
	private UnitType unitType;
	private int supplierEnteprise;
	public void setItemID(int itemID) {
		this.itemID = itemID;
	}
	public int getItemID() {
		return itemID;
	}
	public void setItemType(ItemType itemType) {
		this.itemType = itemType;
	}
	public ItemType getItemType() {
		return itemType;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getName() {
		return name;
	}
	public void setStorePrice(double storePrice) {
		this.storePrice = storePrice;
	}
	public double getStorePrice() {
		return storePrice;
	}
	public void setSalePrice(double salePrice) {
		this.salePrice = salePrice;
	}
	public double getSalePrice() {
		return salePrice;
	}
	public void setProducer(String producer) {
		this.producer = producer;
	}
	public String getProducer() {
		return producer;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getDescription() {
		return description;
	}
	public void setProducerCode(String producerCode) {
		this.producerCode = producerCode;
	}
	public String getProducerCode() {
		return producerCode;
	}
	public void setCreated(Timestamp created) {
		this.created = created;
	}
	public Timestamp getCreated() {
		return created;
	}
	public void setUnitType(UnitType unitType) {
		this.unitType = unitType;
	}
	public UnitType getUnitType() {
		return unitType;
	}
	public void setSupplierEnteprise(int supplierEnteprise) {
		this.supplierEnteprise = supplierEnteprise;
	}
	public int getSupplierEnteprise() {
		return supplierEnteprise;
	}
	public void setAttributeList(List<ItemAttribute> attirbuteList) {
		this.attributeList = attirbuteList;
	}
	public List<ItemAttribute> getAttributeList() {
		return attributeList;
	}	
}
